/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package mbox.server;

import com.sun.net.httpserver.HttpServer;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.util.concurrent.Executors;
import mbox.helper.Utilities;

/**
 *
 * @author Hallucinogen
 */
/*
public class Server2 {
    public Server2() {
        
    }

    public void start() {
        InetSocketAddress socket = new InetSocketAddress(Utilities.SERVER_PORT);

        try {
            mServer = HttpServer.create(socket, 0);

            mServer.createContext("/clientserver", new ServerHandler(this));
            mServer.setExecutor(Executors.newCachedThreadPool());
            mServer.start();
        } catch (IOException ex) {
            
        }
    }

    public static void main(String[] args) {
        Server server = new Server();

        server.start();
    }

    private HttpServer mServer;
}*/
